]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Looking Glass: fix error line when there are no errors
authorGiovanni Campagna <gcampagna@src.gnome.org>
Wed, 8 Feb 2012 17:59:02 +0000 (18:59 +0100)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Wed, 8 Feb 2012 22:29:44 +0000 (23:29 +0100)
The No error code path still used the old metadata object.

https://bugzilla.gnome.org/show_bug.cgi?id=669694

js/ui/lookingGlass.js

index d88ead0dc3ad94ab02f6fd63e1519b65bdf7b9f3..fc502984827a603c42370f88d2abeb5f5c5876fa 100644 (file)
@@ -776,7 +776,7 @@ const Extensions = new Lang.Class({
                     errorDisplay.add(new St.Label({ text: errors[i] }));
             } else {
                 /* Translators: argument is an extension UUID. */
-                let message = _("%s has not emitted any errors.").format(meta.uuid);
+                let message = _("%s has not emitted any errors.").format(extension.uuid);
                 errorDisplay.add(new St.Label({ text: message }));
             }